home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue55 / Persist / EFieldsEditor.TXT < prev    next >
Encoding:
Text File  |  2000-02-02  |  1.5 KB  |  36 lines

  1. Enhanced Fields Editor By Guy Smith-Ferrier
  2. -------------------------------------------
  3.  
  4. The Enhanced Fields Editor is a replacement for Delphi 5's own Fields Editor.
  5. It will only work with Delphi 5. It is different from the built in editor
  6. by the fact that you can customize your own data aware controls which are
  7. dragged from the Fields Editor and dropped onto the form. You can customize
  8. this list by editing FEDITOR.INI. The following is an example of FEDITOR.INI:-
  9.  
  10. [TControlClasses]
  11. TDateTimeField=TDBDateTimePicker
  12. TIntegerField=TDBSpinEdit
  13.  
  14. (Note that TDBDateTimePicker and TDBSpinEdit are hypothetical classes.)
  15.  
  16. Place the FEDITOR.INI file in the Windows directory.
  17.  
  18. To use the Enhanced Fields Editor start Delphi, select Component | Install
  19. Packages and then click on the Add button. Locate EFieldsEditor.BPL, click
  20. Open and then click Ok. Delphi will now use the Enhanced Fields Editor.
  21.  
  22. Note that if the Control Class which you select is not installed in your
  23. version of Delphi then the Fields Editor will fall back to another component
  24. (probably TDBEdit) but you will not receive an error.
  25.  
  26. The package is designed for use with Delphi 5 Enterprise. It can still be
  27. used with Delphi 5 Professional but you will have to first remove the
  28. ECDSFieldsEditor unit (for TClientDataSet) and also, if you don't have
  29. ADOExpress you will have to remove the EADOFieldsEditor unit.
  30.  
  31. Thanks to Brian Long for providing the initial solution upon which this
  32. editor is based.
  33.  
  34. Guy Smith-Ferrier
  35. February 2000
  36.